package com.imooc.countdown;

import java.util.concurrent.CountDownLatch;

public class StationBeJingIMooc extends DangerCerter {

	public StationBeJingIMooc(CountDownLatch countDown) {
		super(countDown, "北京调度站");
	}


	@Override
	public void check() {
		System.out.println("正在检查[" + this.getStation() + "]...");

		try {
			Thread.sleep(2000);
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		System.out.println("检查[" + this.getStation() + "]完毕，可以发车...");
	}

}
